package com.wtx.chapter07;

/**
 * @description: 映射接口
 * @author: wtx
 * @createDate: 2020/5/26
 */
public interface Map<K,V> {

    void add(K key,V value);
    V remove(K key);
    boolean contains(K key);
    V get(K key);
    void set(K key,V value);
    int getSize();
    boolean isEmpty();
}
